Repository navigation
fix: use a placeholder project ID in each Slack CLI config - #24
Merged
Merged
Conversation
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
cchensh
approved these changes
Dec 3, 2026
cchensh
left a comment
There was a problem hiding this comment.
Approving. All three subprojects' .slack/config.json now carry the same zero project_id as bolt-python-examples, which slack create replaces, and the three test_slack_config.py files that pinned the old config are gone. No other .slack/config.json is in the tree. CI is green on all three subprojects.
Nit: these files now end with a newline, while bolt-python-starter-agent#328 keeps them without one, so the two repos' configs differ by a byte.
Member
Author
|
🧹 @cchensh The newline difference went the other way: slack-samples/bolt-python-starter-agent#328 now ends its configs with a newline too (9a0c27c), so both repos match the bolt-python-examples placeholder byte for byte. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request fixes
pytestin projects created withslack createby committing a placeholder project ID and removing the test that pinned.slack/config.json.tests/test_slack_config.pychecked that the committed config was exactly{"manifest": {"source": "local"}}, butslack createwrites aproject_idinto every new project, so the test failed before a developer changed anything..slack/config.jsonnow holds the placeholderproject_idthat bolt-python-examples uses, andslack createreplaces it with a fresh ID.main.Fixes #21
Testing
slack create my-agent -t slack-samples/bolt-python-personal-agent --subdir pydantic-ai -b fix-placeholder-project-idand confirm.slack/config.jsonhas a newproject_idinstead of the zeros.pip install -e ".[dev]"andpytest, and confirm the tests pass.--subdir claude-agent-sdkoropenai-agents-sdk.🤖 Generated with Claude Code